<%@page import="java.util.Calendar"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>众筹管理后台</title>
			<script type="text/javascript" src="../js/jquery1.12.4.min.js" ></script>
		<script type="text/javascript" src="../js/bootstrap.min.js" ></script>
		<script type="text/javascript" src="../js/countUp.js" ></script>
		<link rel="stylesheet" href="../css/bootstrap.min.css" />
		<link rel="stylesheet" href="../css/dashboard.css" />
	</head>
	<body>
<%
Calendar ca = Calendar.getInstance();//创建一个日期实例
//输出  XXXX-X-X日
String date=ca.get(Calendar.YEAR)+"-"+(ca.get(Calendar.MONTH)+1)+"-"+ca.get(Calendar.DATE)+"\t"+ca.get(Calendar.HOUR)+":"+ca.get(Calendar.MINUTE)+":"+ca.get(Calendar.SECOND);
%>
		
	 <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">众筹管理平台</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
        	
          <ul class="nav navbar-nav navbar-right">
          	<li><a href="../index.jsp">首页</a></li>
          	 <li><a href="../admin_userinfo.jsp">欢迎, 张三</a></li>
            <li><a href="../update_userinfo.jsp" title="修改个人资料和密码的页面">设置</a></li>
            <li><a href="#" title="退出登录">退出</a></li>
          </ul>
        </div>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
        	<ul class="nav nav-sidebar">
            <li ><a href="../index.jsp">首页</a></li>
           </ul>
          <ul class="nav nav-sidebar">
            <li><a href="../products.jsp">所有项目</a></li>
            <li><a href="../auditing.jsp?psid=">项目审核</a></li>
            <li><a href="../following.jsp">项目跟踪</a></li>
 		    <li><a href="../comments.jsp">项目评论</a></li>
            <li><a href="../classify.jsp">项目分类</a></li>
            <li><a href="../recommend.jsp">项目推荐</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li><a href="../user_register.jsp">注册用户</a></li>
            <li><a href="../user_bankroll.jsp">用户资金</a></li>
            <li><a href="../user_log.jsp">用户日志</a></li>
            <li><a href="../user_audit.jsp">实名审核</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li><a href="../news_management.jsp">新闻管理</a></li>
            <li  class="active"><a href="../problem_management.jsp">问题管理</a></li>
            <li><a href="../user_management.jsp">管理用户</a></li>
            <li><a href="../log_management.jsp">管理日志</a></li>
          </ul>
        </div>
        
        <!--左侧导航栏end-->
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h1 class="page-header">添加项目分类</h1>

            <div class="panel panel-default">
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="panel-title">
                        添加问题
                    </div>
                </div>
                <div class="panel-body">

                    <div class="table-responsive ">
                        <form>
                            <div class="form-group">
								   <select class=form-control id="questionId" name="questionId">
								   	<option value="">问题类别</option>
								   	<option value="1">基本问题</option>
								   	<option value="2">发起项目相关</option>
								   	<option value="3">支持项目相关</option>
								   	<option value="4">法律问题</option>
								   	<option value="5">项目指南</option>
								   </select>
                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control" id="questionName" placeholder="问题描述">
                            </div>
                            <div class="form-group">
                               <textarea class="form-control" rows="3" id="questionAnswer" placeholder="问题回答"></textarea>
                            </div>
                            <div class="form-group">
                               <h5>当前时间</h5>
                                <input type="text" class="form-control" id="questionDate" value="<%=date%>">
                            </div>
                            &nbsp;&nbsp;
                            <button type="submit" class="btn btn-default btn-primary pull-right">添加</button>
                        </form>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<script>
    $(document).ready(function() {

    });
    
</script>
</body>
</html>